<div class="header">
    <%
        if((String)session.getAttribute("email") != null){
    %>
        <span><a href="#"><%= session.getAttribute("email") %></a></span>
        <span><a href="/signin?action=logout">Log out</a></span>
    <%
        }
        else{
    %>
        <span><a href="signin.jsp">login</a></span>
        <span><a href="signup.jsp">sigh up</a></span>
    <%
        }
    %>
</div>

<div class="storeTitle">
    <h1 id="title">
        <a href="index.jsp">TechBook Store</a>
    </h1>
    <div class="basket">
        <img src="http://shop.radio-t.com/static/shared/files/scheme-1/cart_empty.png">
        <span>
            <a href="/cart"><%= (session.getAttribute("cart") !=null) ? ((java.util.ArrayList)session.getAttribute("cart")).size() + " items inside"  : "Empty cart"%></a>
        </span>
    </div>
</div>

<div class="searchStripe">
    <div class="searchWrap">
        <div class="searchLabel">Search: </div>
        <div class="searchLabel"><input  class="searchInput" size="100" type="text"></div>
    </div>
</div>